package com.ktjy.mapper;

import com.ktjy.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {
    public int add(SysRole sysRole);
    public int update(SysRole sysRole);
    public int delete(@Param("id") Integer id);
    public SysRole getByRoleName(@Param("roleName") String roleName);
    public List<SysRole> getAll();
}
